TItle Preface Copyright Installation Credits Introduction Face Value principles Face Value operation Face Value program dialogs Menu bar Dialog 'Main' User window flags About Face Value System alerts System requirements Rsc information Parameters-Dialog Error dialog Create a program from the RSC file Files produced by Face Value Structure of the LST file Updating a project Starting Face Value with commandline Understanding the RSC file Trees Mandatory trees Conditional trees Optional Trees Dialog trees User-window trees Objects Programming with Face Value How the Face Value engine works How to write clean GEM programs Hi ho, off to work we go Window iconification Working with windows The RSC-file, objects and variables The ASCII-table dialog How to use GDOS fonts and xFSL-fontselectors Getting keyboard-input The error-routine Reference - The resource file +Reserved dialog names +Sorting your dialogs +Menu- and Dialog-Trees .Menu - Extended type: 0 .System - Extended type: 1 .Background - Extended type: 2 .Toolstrip - Extended type: 3 .Toolbar - Extended type: 4 .ASCII-table - Extended type: 5 .Mouseforms - Extended type: 6 .Desktop - Extended type: 7 .Progress - Extended type: 8 .Busydialog - Extended type: 9 .Iconify - Extended type: 10 .PopUps - Extended type: 11 .Alert - Extended type: 12 .Alert icons - Extended type: 13 .Alert strings - Extended type: 14 .ListBox - Extended type: 15 .Animated icon - Extended type: 16 .Code - Extended type: 17 .Non-modal dialog - Extended type: 18 .Prg.modal dialog - Extended type: 19 .Toolbox - Extended type: 20 +Standard objects DText DBoxtext DImage DProgdef DIbox DButton DBoxchar DString DFtext DFboxtext DIcon DTitle DCicon +Face Value special objects SFrame SNiceline SUnderlined text SCheckbox SRound radiobutton SNumberScroller SRadioTextPopup SMenuTextPopup SRadioImagePopup SMenuImagePopup SRadioListbox SCheckListbox SMenuListbox SShortcut button SShortcut string SShortcutIcon SPointForward SShortcut boxchar SPointBack SHelp button SHelp menu item SAnimatedIcon SAutoCompress Icon/Image SCloserButton SQuitApp +Object state mSelected - OB_STATE bit 0 mCrossed - OB_STATE bit 1 mChecked - OB_STATE bit 2 mDisabled - OB_STATE bit 3 mOutlined - OB_STATE bit 4 mShadowed - OB_STATE bit 5 mExtended object states: +Object flags uSelectable - OB_FLAGS bit 0 uDefault - OB_FLAGS bit 1 uExit - OB_FLAGS bit 2 uEditable - OB_FLAGS bit 3 uRbutton - OB_FLAGS bit 4 uLastob - OB_FLAGS bit 5 uTouchexit - OB_FLAGS bit 6 uHidetree - OB_FLAGS bit 7 uIndirect - OB_FLAGS bit 8 uExtended object flags +Shortcuts in menu-entries Reference - Programming Global Global variables list window_array&(index&,x&) window_tree%(index&,x&) Reference - User routines Always user_var_index user_rsc_var_init user_rsc_interact user_rsc_draw_extra user_on_open user_on_exit user_quit_ok user_systemcheck user_gem_messages user_win_close_all Userwindows user_window_content user_mouse user_keyb user_win_close_ok User routines drag & drop user_dragdrop_init user_dragdrop_path user_dragdrop_accept user_dragdrop_loaddata Reference - Callable system routines Using windows win_open win_get_workarea win_set_infoline win_set_slidersize win_set_vslider win_set_hslider win_change_size win_keyb_scroll win_open_dialog win_close_all win_close win_set_title win_get_index win_send_redraw win_modal_enq Iconification win_iconify win_iconify_all win_uniconify win_uniconify_all Window cycling win_cycle Blitting image bitmaps vdi_bitblt Offscreen bitmaps (mono, NVDI/EdDI) offscreen_open offscreen_close Allocate global memory mxalloc_global Fileselector support selectric_load$ selectric_check fileselector$ Getting information from the operating system appl_xgetinfo vq_extnd vq_vgdos get_cookie clip_bootdrive$ Alerts alert_standard alert_wind Blocking the screen/system aes_screen_lock aes_screen_unlock aes_clear_buffers Progress bar progress_open progress_update progress_close Busy dialog busy_open busy_update busy_close Virtual workstations v_opnvwk v_clsvwk Mouse mouse_wait mouse_form mouse_busy Load and save mono IMG img_load img_save Sending GEM messages to yourself aes_internal_message Calling ST-Guide call_st_guide Installing a custom desktop desktop_new desktop_restore Using the GEM clipboard clip_write$ clip_read$ Working with objects rsrc_setup_tree xrsrc_gaddr rsc_ob_flags rsc_ob_state rsc_ob_check rsc_ob_hide rsc_ob_disable rsc_free_string$ rsc_free_image_vrt_cpyfm rsc_free_image rsc_set_new_menu rsc_get_code_adr rsc_ob_draw rsc_ob_xywh rsc_set_text rsc_get_text$ rsc_disable_menutitle rsc_find_menutitle set_cursor Read the keyboard state aes_get_kstate Drag & drop protocol fread dd_read_args$ GDOS and xFSL support vdi_load_fonts vdi_unload_fonts vst_alignment EVNT_MULTI loop evnt_multi_loop Face Value Converter 1.0 RSC library Example programs EX.RSC: IMG_VIEW.RSC Face Value history Bug fixes Changes, Improvements Additions Index Manual and Reference FACE VALUE Vegard Hofsoy $$VER: Version 1.1 (March 26, 1996) -i -t4 Programmierung Us9qj sHSL( I.iH8 =B_)3M )d\W >Dj2vb tC`LIrK MZ]U^0 ?T}# p~o5q\ (v&Qq@ ^r)GDW` w5aDM-/ :x'hM c4oNe 4 lby m8&P[ K8Jkh spJp6 '8KYMf T{aKiM3 Pd~BZ iPu-mM 05)'h |K,U+ w2=oSogN? S7)pG^m cWr5g# ;9'omO Zj08B&Dy |H18 =Z" M (&|`SZ k IF2 Z#B\= k< Ku j$o5X|#], t"-Q& 0*f`) :.xHXQ .'b9X rS-(wJTQD ]@Xxk Ez5{N 3|Cf* qO-'|i 1DQrC bM,?~G g`n+N JT7;q W*-Jx 5Lvlo IiDlV*+? tcM^# >,xl1/ }+ S" x@"vQs xXaPf peh:B x\KvS 5e;;4>r yZWF@ $I@\) s;=V8 I1[|w PfHo4 .sC-)~' +[7TUo[ 8K9fh -] Z5 D8ui$4 ~^Z|>[; P{r,! DhncIO gIg8p =!9Y~& $7GJO H+9 [Wzj 5_V,^8 ;c,)@F q_2oP *)@bylA TM =I 'J2>s] XeBc1^| EZwP >IE%n P16Sc ;o54" v)|60h H{\/< 5_X"L NgCZM !}b-E ,$m'A~ vYah1 h^{NRH ZOY~4 kA0Kt *A$S5 ;Yw "T RdqVi \sm~ VvzPI c.f[r krWc[ M@=@M qjD&& =A2_| []~n2 #En@\ ^jx p a#W~j 9x4;Y T\H[O SsEpz -+Y6k F1:JCl o9k $ 6Z6h+Y hj+-iR .N\xp zk>/0 +l")R tMC*AK z{l{=X[K VF|$h PKK97e) 3s\C{c Da/lTMc W>?Vp ut|9=~ u: g- bN.K| p-R90(L6Q A$l#s 7B<# aPwvuN Vh1idvR FuXm u_EZv $#(57 1'fZF avO6 YZ! f {6IUm% h]1?a a@VaS /(\ly) wRX*R+o p4XN& vc^v` 4Ls5aT 0%(a4 ]P#V:c luj_9H _E'FNg (W|wG vcu60 ApFiKrPO b?2,ou 4mO1+ .v:Rz% I/b9||2 =e\ +&M[( h!.l4 BeW. @ Bu(=) EZ w@ +*BalG qO=*: Uh)Jy aY4dY vkB7)b %_W?7 v!l)I SM D lmEeg }>EwD {OlrF mN}P$ C*=#1 'F>R} u]>,q %(ou= 1bO8, 9:UZx BWcz@ ]5V8S Pn~23 k.FfR ak9~ 8^ tEH DeOW' q^>XOs [ql05by sabqND R:MAt B0KH NM |/ D8Icu p,q2@Q "zPv^O EHJ[LZ 7@1." D;& #if ArU,a >`LQ(6 z!~9G+ ~.Ns}# .jDE] ooHUs +O1[8? AQ@4| Zn^N3rIna k$pj W( F-"4\ s@8bC 4 X$1~g +vipn+*Z ~O_1{ Ad[eB -6Xcv! cf7,B JY[8!VE eWS$M2^ (}2xa ]5kvT;w |!~L,_ {NsFs 9T?k/+ Y@n0x o4,cW %sr7 4 ( qI7 L~R} Xfi&V <_/0` hss|A 1Eb=j B6{`2 Pkj'% o4M-y% XVY1H* *b C_ Fj#Rp 7x;[ 7|M>! #w:\d {~}agS2 rSM:^Q *jW K 'uNOo *x#p> 4BZs=w -}T>F =v&Vo fzK?/> [bJlI q?\ / Ng!jyKC 3P7o? qEhMx RZ%`b Wfx0> |Ci/O ;,=I& 9xqrsr #$+dd uO;t< #\Z3* X`voH 0]DQc- nJD:KaD k)zV. Vur=d "]bpkm{ q7U|}hU# M`AuHA lsA|k _[ch? 8?Xpxn SR)Rv$#|$ gx#leh NhWY` 1+(MX% |wyV )(e| =}3L/y? 9KnqAr 27XPH &'0~p mqmk PI_wz ivnCw# __Y<0; a!B!Q /K*Rf a:+sY 1o?x# &&)[w w.Uc< apl"`u5 O($yC V)j~t 6|u ac_pJ GJWQz 1xa,II ;s{{4L LAxOA jOssl ,I+Ra <1jic 2Dc;g .6o55 %D7%v Z8)j} SH+$2 !MrOq m$TsC ))[f(" tS@.? e)u HFfXWB JAT1e YFdh2 y=A %# lAsl1 S0-Ni R?^u_y% ^PyJ+p l>8tI O#iOf T,3E, >~<1d HC&P5 N;@V/ QC0)K $>|\:%R kk44\ ;!xj[6z #@g,_ v\_9J `y q~c W-R W qQ)>'; PxqlBw@ v^>Iy b9Y(b kRCbr <(}J80&Av %V)7@ F[^ls a&L`y{ =(9W5 FWSO4 L5vpy c (*S\ ejWDQ! E~ ;c9zv y:HJ; IY|Q!W ,M9u| .?#']T V"[A;=N SnE*y (s6,6 -$-xo DAoR$~ ZtP^Iq 95PEp ygCb/ ~y$Y# m+5(W kZqsf~ 0T& x< 2fD/[T [Ii%0 I~~;~ 2Vvft "\ eV9 &S2kc] vM0~L VCUO` T|{;] G?W`D N&eA4B +h<`jX 3 .i PmaNxp Br`jx$ 2LZxNB @+`qt ?QE~% >r9(R :~56+ QdKm$ `;v1Xu ,X)nX vl ^aky ]EPeqp Hg[l," KlA47 -GX2< qL'Hk WY\?` m%S2;x $ ''`P wU1KK \p4&P KIV#y1w Hj_x` ,Uh9T @:PTd B#k: Hg[Ret -Q[+a% f[^Jx $v!l7 ?Quh=5 0.Dv-% K^N}l r1}kK} aoV+ (Ttb 6AcT, #^KM0 9moZ" r&A=.} 1X\"y \Hf1A C}Din ^znKZ azvbkJ "&b^jZ^je d:}x! (b`SSr TY\yK i|, g* -km{* smGSO kON9m hh>NDm lrYacz V1V:U NU%*I+ Ab9.Oo .51BN Lf21_ a0LK:B J;ugd :ktW? sak'` On.m8 rp2j ~p8Z*_#^K n0:U| 4vhj-= MS\!4 :;ftv ny]#$ 6CR,S@V}z $zw_} gZwHmO >S;a_u vMR2e 9R;(G E`PXl %m[s~^ RTH.B >s'>x,' s `4U pP-#L_ V\:9w 0<>z0 } NmM U `tsKcHa$K Z}OIE 1rGK| Hst,7r wwJX dYu;0 _S ~OKj ~Y=<6c G 8. *6IlbM \u/6% B]ZM_ ^:W}%